// Copyright Leonid Shlyapnikov 2010
// Distributed under the GNU Lesser General Public License http://www.gnu.org/licenses/lgpl.html
//    author: Leonid Shlyapnikov, created on: Feb 1, 2010

#ifndef FIXPARSER_CPP_SRC_MAIN_FIXPARSER_BASE_H_
#define FIXPARSER_CPP_SRC_MAIN_FIXPARSER_BASE_H_

#include <boost/utility.hpp>

namespace fixparser {

class Base: public boost::noncopyable {
protected:
    Base() {}
    virtual ~Base() {}

    void operator delete(void* p, size_t size);

private:
    void* operator new(size_t size);
    void* operator new[](size_t size);
    void operator delete[](void* p);
};

}

#endif  // FIXPARSER_CPP_SRC_MAIN_FIXPARSER_BASE_H_
